package messages;

import java.io.Serializable;

public abstract class Message implements Serializable {
	
	private final String sender;
	private final long sessionID;
	private static final long serialVersionUID = 7983897136275858510L;
	
	public Message(String sender, long sessionID){
		this.sender = sender;
		this.sessionID = sessionID;
	}
	
	public String getSender(){
		return this.sender;
	}
	
	public long getSessionID(){
		return this.sessionID;
	}
}
